<cfsetting enablecfoutputonly="Yes">
<!---
	where/intro.cfm
--->

<cfmodule template="_head.cfm" pageTitle="Introduction">

<cfoutput>
<style type="text/css">
html, body {
	background-color: white;
	color: black;
	font-family: Calibri, Tahoma, Verdana, Arial, 'Bitstream Vera Sans', 'Vera Sans', Helvetica, sans-serif, sans;
	padding: 0;
	margin: 0;
}
body { margin: 0 1em; }
p {
	margin: 0 0 1em 0;
}
##panic {
	padding: 0.5em;
	border: 1px solid ##ffaa00;
	background-color: ##ffeedd;
	margin-top: 2em;
}
input { margin-bottom: 0.5em; padding: 0.25em; }
</style>
<script language="JavaScript" type="text/javascript">
// <![CDATA[
function sendAddr(a) {
	window.parent.findAddr(a, zoomWorked, zoomFailed);
	return false;
} // sendAddr
function zoomFailed() {
	document.getElementById("introtext").innerHTML = "<p>Hmm.  It looks like your search failed.  Try again, maybe this time with a larger nearby city.</p>";
}
function zoomWorked() {
	window.parent.addLocal();
	var loc = "workit.cfm";
	try {
		var b = document.getElementsByTagName('base');
		if (b && b[0] && b[0].href) {
			if (b[0].href.substr(b[0].href.length-1) == '/' && loc.charAt(0) == '/') loc = loc.substr(1);
			loc = b[0].href + loc;
		}
	} catch(e) { }
	document.location.href = loc;
} // zoomWorked
// ]]>
</script>
</head>
<body class="#Request.Browser.cssClasses()#">
<div id="introblock">
<p id="introtext">Welcome to <strong style="color: ##7b2e00;">&ldquo;Where To Write&rdquo;</strong>.  This application is intended to help you find places to write in your area, and to help others in your area do the same.  Let's start off by getting a little closer to where you live.</p>
<p>What's your home city or zip code?  For example, try something like <a href="##" onclick="return(sendAddr('Orlando, FL'))">Orlando, FL</a> or <a href="##" onclick="return(sendAddr('32746'))">32746</a>.</p>
</div>
<form action="region.cfm" method="post" target="_self" name="introform" id="introform" onsubmit="return(sendAddr(this.elements['q'].value));">
<input type="text" style="width: 90%; border: 1px solid ##dddddd; background-color: ##ffffdd;" name="q" id="q" maxlength="64"/><br/>
<input type="button" value="Zoom In &rarr;" id="findbtn" name="findbtn" onclick="sendAddr(this.form.elements['q'].value)"/>
</form>
<p style="display: none;" id="findp">Find &rarr;</p>
<p id="panic">Don't panic!  This site does not use any information you provide here to track you, or stalk you, or do anything else creepy like that.</p>
<script language="JavaScript" type="text/javascript" defer="defer">
if(!window.parent) { window.location = '#Request.Proto#://#Request.Host#/where/'; }
try { document.forms['introform'].elements['q'].focus(); } catch(e) { }
</script>
</cfoutput>

<cfmodule template="_foot.cfm">

<cfsetting enablecfoutputonly="No">